package com.starinside.wp.foundation.vo;

import com.starinside.wp.domain.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Data
public class PraisesVO  {
    private String id;

    private String uid;

    private String fid;

    private String username;

    private Date created = new Date();

    public static PraisesVO of(String uid, String fid, String username){
        PraisesVO praises = new PraisesVO();
        praises.setUid(uid);
        praises.setFid(fid);
        praises.setUsername(username);
        return praises;
    }
}
